import { ref, reactive } from 'vue'
export default function () {
  const diaFormData = ref({
    deviceName: '',
    deviceDesc: '',
    deviceCharact: '',
    order: '',
    imgUrl: '',
    linkType: '0',
    toLink: ''
  })
  const dialogOptions = ref<any>({
    title: '新增',
    openType: 1, // 1 新增 2 编辑 3 查看
    width: '560px'
  })
  return {
    diaFormData,
    dialogOptions
  }
}
